package top.metaspace.singleton;

import java.io.Serializable;

/**
 * @author panjun
 * @date 2018/6/21.
 * 懒汉式
 */
public class LazySingleton implements Serializable {


	private static final long serialVersionUID = -1447535522867705264L;
	private static LazySingleton instance = new LazySingleton();

	private LazySingleton(){

	}

	public static LazySingleton getInstance(){
		return instance;
	}



}
